package com.telenav.module.home;

import com.telenav.mvc.ICommonConstants;
import com.telenav.util.PrimitiveTypeCache;

public interface IHomeConstants extends ICommonConstants{
	
	public final static int STATE_ACTIVITY_BASE = STATE_USER_BASE + USER_BASE_ACTIVITY;
	
	public static final int STATE_INIT = (STATE_USER_BASE + USER_BASE_HOME + 1);
	
	public static final int STATE_ACTIVITY = (STATE_USER_BASE + USER_BASE_HOME + 2);
	
	public static final int STATE_CONFIRM = (STATE_USER_BASE + USER_BASE_HOME + 3) | MASK_STATE_TRANSIENT;
	
	public static final int STATE_USERINFO = (STATE_USER_BASE + USER_BASE_HOME + 4);
	
	public static final int STATE_SETTING = (STATE_USER_BASE + USER_BASE_HOME + 5);
	
	public static final int STATE_GOTO_ACTIVITYLIST = (STATE_USER_BASE + USER_BASE_HOME + 6) | MASK_STATE_TRANSIENT;
	
	public static final int STATE_LOGIN = (STATE_USER_BASE + USER_BASE_HOME + 7) | MASK_STATE_TRANSIENT;
	
	public static final int STATE_USER = (STATE_USER_BASE + USER_BASE_HOME + 8);
	
	public static final int EVENT_MODEL_SPLASH = EVENT_MODEL_USER_BASE + USER_BASE_HOME + 1;
	
	
	
	public static final int EVENT_MODEL_LOGIN_SUCCESS = EVENT_MODEL_USER_BASE + USER_BASE_HOME + 3;
	
	public static final int CMD_GOTO_HOME = STATE_COMMON_BASE + USER_BASE_HOME + 1;
	
	public static final int CMD_GOTO_ACTIVITYLIST = STATE_COMMON_BASE + USER_BASE_HOME + 2;
	
	public static final int CMD_GOTO_USERINFO = STATE_COMMON_BASE + USER_BASE_HOME + 3;
	
	public static final int CMD_GOTO_SETTING = STATE_COMMON_BASE + USER_BASE_HOME + 4;
	
	public static final int CMD_LOGIN = STATE_COMMON_BASE + USER_BASE_HOME + 5;
	
	public static final int CMD_DETAIL = STATE_COMMON_BASE + USER_BASE_HOME + 6;
	
	public static final int ACTION_INIT = ACTION_USER_BASE + USER_BASE_HOME + 1;
	
	public static final int ACTION_GET_ACTIVITIES = ACTION_USER_BASE + USER_BASE_HOME + 2;
	
	public static final int ACTION_LOGIN = ACTION_USER_BASE + USER_BASE_HOME + 3;
	
	public final static Integer KEY_S_USERNAME    = PrimitiveTypeCache.valueOf(STATE_ACTIVITY_BASE + 7);
	public final static Integer KEY_S_PWD    = PrimitiveTypeCache.valueOf(STATE_ACTIVITY_BASE + 8);
	
}
